Question [ubuntu] User privileges command line ( Ubuntu Forums Absolute Beginner Talk ) Updated: 2008-11-23 01:50:14 (3)
[ubuntu] User privileges command line
How do you set user privileges in command line? I added a user using adduser but how do I set his privileges now?
Thanks
Answers: [ubuntu] User privileges command line ( Ubuntu Forums Absolute Beginner Talk )
[ubuntu] User privileges command line
Best thing to do is to add the user to groups.
Code:
useradd -G groupname username
Xerp
[ubuntu] User privileges command line
adding to groups should solve your problem. I will be a little more specific. Being members of different groups allows you to perform different tasks. For example if you are a member of the admin group you can use sudo and administer the system.